package com.example.mapper;

import com.example.pojo.Orderdetailet;

import java.util.List;

public interface OrderdetailetMapper {
    int deleteByPrimaryKey(Integer odId);

    int insert(Orderdetailet record);

    int insertSelective(Orderdetailet record);

    Orderdetailet selectByPrimaryKey(Integer odId);

    int updateByPrimaryKeySelective(Orderdetailet record);

    int updateByPrimaryKey(Orderdetailet record);

    // 再拿着订单号查询该订单的明细信息
    List<Orderdetailet> findOrderdetailetByOrderId(Integer orderId);
}